﻿<Window x:Class="QLSV.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            
                <RowDefinition Height="auto"></RowDefinition>
                <RowDefinition Height="auto"></RowDefinition>
                <RowDefinition Height="auto"></RowDefinition>
                <RowDefinition Height="*"></RowDefinition>
                <RowDefinition Height="30"></RowDefinition>

        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"></ColumnDefinition>
            <ColumnDefinition Width="*"> </ColumnDefinition>
      </Grid.ColumnDefinitions>
        <Label Content="Masv" Grid.Column="0" Grid.Row="0"  Margin="10" ></Label>
        <Label Content="Ten SV" Grid.Column="0" Grid.Row="1" Margin="10"></Label>
        <Label Content="Ma Lop" Grid.Column="0" Grid.Row="2" Margin="10"></Label>
        <Label Content="Dia Chi" Grid.Column="0" Grid.Row="3" Margin="10"></Label>

        <TextBox  Name="txtmasv" Grid.Column="1" Grid.Row="0" Margin="10" > </TextBox>
        <TextBox Name="txttensv" Grid.Column="2" Grid.Row="1" Margin="10"></TextBox>
        <TextBox Name="txtmalop" Grid.Column="3" Grid.Row="2" Margin="10"></TextBox>
        <TextBox Name="txtdiachi" Grid.Column="4" Grid.Row="3" Margin="10"></TextBox>
        
        <Button Grid.Column="5"  Grid.Row="4" Content="OK" Width="100" Margin="0,0,100,0" Click="Button_Click"></Button>
        <Button Grid.Column="5" Grid.Row="4" Content="Cancel" Width="100" Margin="100,0,0,0" Click="Button_Click_1"></Button>

    </Grid>
</Window>
